<script setup lang="ts">
import BasicLayout from '@/layouts/BasicLayout.vue'
import { useLoginUserStore } from '@/stores/loginUser.ts'

const loginUserStore = useLoginUserStore()
loginUserStore.fetchLoginUser();

</script>

<template>
  <BasicLayout />
</template>

<style>
/* 全局样式重置，确保不会有多余的滚动条 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  /* 禁止水平滚动 */
  overflow-y: auto;
  /* 允许垂直滚动但隐藏滚动条 */
  -ms-overflow-style: none;
  /* IE 和 Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* 隐藏Chrome, Safari和Opera的滚动条 */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

#app {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
</style>
